package com.ruoyi.alarm.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 焊接质量追溯与分析对象 alarm_report
 * 
 * @author ruoyi
 * @date 2023-02-11
 */
public class AlarmReport extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 所属班组 */
    @Excel(name = "所属班组")
    private String alarmGroup;

    /** 工作令号 */
    @Excel(name = "工作令号")
    private String deviceId;

    /** 图号 */
    @Excel(name = "图号")
    private String deviceNum;

    /** 炉号 */
    @Excel(name = "炉号")
    private String groupId;

    /** 焊工 */
    @Excel(name = "焊工")
    private String operator;

    /** 故障类型 */
    @Excel(name = "故障类型")
    private String alarmType;

    /** 故障代码 */
    @Excel(name = "故障代码")
    private String alarmCode;

    /** 工序编码 */
    @Excel(name = "工序编码")
    private String alarmCurrent;

    /** 焊缝编码 */
    @Excel(name = "焊缝编码")
    private String alarmVoltage;

    /** 故障开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd hh:mm:ss")
    @Excel(name = "故障开始时间", width = 30, dateFormat = "yyyy-MM-dd hh:mm:ss")
    private Date alarmStart;

    /** 故障结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd hh:mm:ss")
    @Excel(name = "故障结束时间", width = 30, dateFormat = "yyyy-MM-dd hh:mm:ss")
    private Date alarmStop;

    /** 故障描述 */
    @Excel(name = "故障描述")
    private String resever1;

    /** 预留2 */
    private String resever2;

    /** 预留3 */
    private String resever3;

    /** 预留4 */
    private String resever4;

    /** 预留5 */
    private String resever5;

    /** 是否启用 */
    private String isValid;

    public void setAlarmGroup(String alarmGroup) 
    {
        this.alarmGroup = alarmGroup;
    }

    public String getAlarmGroup() 
    {
        return alarmGroup;
    }
    public void setDeviceId(String deviceId) 
    {
        this.deviceId = deviceId;
    }

    public String getDeviceId() 
    {
        return deviceId;
    }
    public void setDeviceNum(String deviceNum) 
    {
        this.deviceNum = deviceNum;
    }

    public String getDeviceNum() 
    {
        return deviceNum;
    }
    public void setGroupId(String groupId) 
    {
        this.groupId = groupId;
    }

    public String getGroupId() 
    {
        return groupId;
    }
    public void setOperator(String operator) 
    {
        this.operator = operator;
    }

    public String getOperator() 
    {
        return operator;
    }
    public void setAlarmType(String alarmType) 
    {
        this.alarmType = alarmType;
    }

    public String getAlarmType() 
    {
        return alarmType;
    }
    public void setAlarmCode(String alarmCode) 
    {
        this.alarmCode = alarmCode;
    }

    public String getAlarmCode() 
    {
        return alarmCode;
    }
    public void setAlarmCurrent(String alarmCurrent) 
    {
        this.alarmCurrent = alarmCurrent;
    }

    public String getAlarmCurrent() 
    {
        return alarmCurrent;
    }
    public void setAlarmVoltage(String alarmVoltage) 
    {
        this.alarmVoltage = alarmVoltage;
    }

    public String getAlarmVoltage() 
    {
        return alarmVoltage;
    }
    public void setAlarmStart(Date alarmStart) 
    {
        this.alarmStart = alarmStart;
    }

    public Date getAlarmStart() 
    {
        return alarmStart;
    }
    public void setAlarmStop(Date alarmStop) 
    {
        this.alarmStop = alarmStop;
    }

    public Date getAlarmStop() 
    {
        return alarmStop;
    }
    public void setResever1(String resever1) 
    {
        this.resever1 = resever1;
    }

    public String getResever1() 
    {
        return resever1;
    }
    public void setResever2(String resever2) 
    {
        this.resever2 = resever2;
    }

    public String getResever2() 
    {
        return resever2;
    }
    public void setResever3(String resever3) 
    {
        this.resever3 = resever3;
    }

    public String getResever3() 
    {
        return resever3;
    }
    public void setResever4(String resever4) 
    {
        this.resever4 = resever4;
    }

    public String getResever4() 
    {
        return resever4;
    }
    public void setResever5(String resever5) 
    {
        this.resever5 = resever5;
    }

    public String getResever5() 
    {
        return resever5;
    }
    public void setIsValid(String isValid) 
    {
        this.isValid = isValid;
    }

    public String getIsValid() 
    {
        return isValid;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("alarmGroup", getAlarmGroup())
            .append("deviceId", getDeviceId())
            .append("deviceNum", getDeviceNum())
            .append("groupId", getGroupId())
            .append("operator", getOperator())
            .append("alarmType", getAlarmType())
            .append("alarmCode", getAlarmCode())
            .append("alarmCurrent", getAlarmCurrent())
            .append("alarmVoltage", getAlarmVoltage())
            .append("alarmStart", getAlarmStart())
            .append("alarmStop", getAlarmStop())
            .append("resever1", getResever1())
            .append("resever2", getResever2())
            .append("resever3", getResever3())
            .append("resever4", getResever4())
            .append("resever5", getResever5())
            .append("isValid", getIsValid())
            .toString();
    }
}
